package com.shan.design.strategy;

/**
 * description
 * 什么时候能使用到这个
 *
 * @author shanzheng <br/>
 * @date 17:04 2018/11/27.<br/>
 * Modified By <br/>
 */
public class Context {
    private AbstractPlane abstractPlane;

    public void setAbstractPlane(AbstractPlane abstractPlane) {
        this.abstractPlane = abstractPlane;
    }

    /**
     * Description  飞机介绍
     *
     * @return void
     * @author shanzheng
     * date  2018/11/27
     */
    void planeIntroduction() {
        abstractPlane.planeType();
        abstractPlane.startFlyType();
        abstractPlane.flyingType();
    }
}
